<div class="barcode" ng-controller="barcode">
	<section class="findGoods">
		<form class="form-inline">
			<div class="form-group">
				<label>商品ID</label>
				<input type="number" class="form-control" ng-model="goodsID">
			</div>
			<div class="form-group">
				<label>物品编码规则</label>
				<select class="form-control" ng-model="rule">
					<option value="EAN-13">EAN-13</option>
				</select>
			</div>
			<div class="form-group">
				<label>国家代码</label>
				<input type="text" class="form-control" ng-model="countryCode" placeholder="693">
			</div>
			<div class="form-group">
				<label>厂商识别码</label>
				<input type="text" class="form-control" ng-model="manufacturerCode" placeholder="69838">
			</div>
			<div class="form-group">
				<button type="button" class="btn btn-info" ng-click="searchBarcodes()">查询条形码</button>
				<button type="button" class="btn btn-primary" ng-click="createBarcodes()">生成条形码</button>
			</div>

		</form>
	</section>
	<section class="showBarcodes table-responsive">
		<table class="table table-bordered table-hover" ng-show="barcodes.length !== 0">
			<tr>
				<th>颜色</th>
				<th>尺寸</th>
				<th>款式</th>
				<th>条形码</th>
			</tr>
			<tr ng-repeat="barcode in barcodes">
				<td>{{barcode.colorName}}</td>
				<td>{{barcode.sizeName}}</td>
				<td>{{barcode.styleName}}</td>
				<td>{{barcode.code}}</td>
			</tr>
		</table>
	</section>
</div>